package com.liam.chinesevietnamesecorpus.dto;

import lombok.Data;

/**
 * 批量上传结果DTO
 */
@Data
public class BatchUploadResultDTO {
    
    /**
     * 成功导入的数量
     */
    private Integer successCount;
    
    /**
     * 失败的数量
     */
    private Integer failCount;
    
    /**
     * 总数量
     */
    private Integer totalCount;
    
    /**
     * 错误信息列表
     */
    private String errorMessage;
    
    public BatchUploadResultDTO() {
        this.successCount = 0;
        this.failCount = 0;
        this.totalCount = 0;
    }
    
    public BatchUploadResultDTO(Integer successCount, Integer failCount, Integer totalCount) {
        this.successCount = successCount;
        this.failCount = failCount;
        this.totalCount = totalCount;
    }
}
